package com.request;

import java.io.FileInputStream;
import java.io.ObjectOutputStream;
import java.net.InetAddress;
import java.net.Socket;
import java.util.Properties;
public class SocketConnection 
{
	private Socket socket=null;
	private Properties properties=null;
	private FileInputStream fileInputStream=null;
	private ObjectOutputStream objectOutputStream=null;
public ObjectOutputStream SocketSend(int port,String system)
{
	try
	{
		socket=new Socket(system,port);
		objectOutputStream=new ObjectOutputStream(socket.getOutputStream());	
	}
	catch(Exception e)
	{
		e.printStackTrace();
	}
	return objectOutputStream;
}
}
